﻿using System;
using System.ComponentModel;

namespace YArchitech.Plumbing
{
	public class LayPumpPropertyDB
	{
		public LayPumpPropertyDB(string strSpecification, string strFactory, string strSeriesName, double dH, double dQ, int nRotSpeed, double dPumpPower, double dEffection, double dIn, double dOut)
		{
			this.strSpecification = strSpecification;
			this.strFactory = strFactory;
			this.strSeriesName = strSeriesName;
			this.dH = dH;
			this.dQ = dQ;
			this.nRotSpeed = nRotSpeed;
			this.dPumpPower = dPumpPower;
			this.dEffection = dEffection;
			this.dIn = dIn;
			this.dOut = dOut;
		}

		[Category("专业信息")]
		[DisplayName("型号")]
		[Browsable(false)]
		public string StrSpecification
		{
			get
			{
				return this.strSpecification;
			}
			set
			{
				this.strSpecification = value;
			}
		}

		[Category("专业信息")]
		[DisplayName("厂家")]
		[ReadOnly(true)]
		public string StrFactory
		{
			get
			{
				return this.strFactory;
			}
			set
			{
				this.strFactory = value;
			}
		}

		[Category("专业信息")]
		[DisplayName("系列类型名")]
		[ReadOnly(true)]
		public string StrSeriesName
		{
			get
			{
				return this.strSeriesName;
			}
			set
			{
				this.strSeriesName = value;
			}
		}

		[Category("专业信息")]
		[DisplayName("扬程(m)")]
		[ReadOnly(true)]
		public double DH
		{
			get
			{
				return this.dH;
			}
			set
			{
				this.dH = value;
			}
		}

		[Category("专业信息")]
		[DisplayName("流量(m3/h)")]
		[ReadOnly(true)]
		public double DQ
		{
			get
			{
				return this.dQ;
			}
			set
			{
				this.dQ = value;
			}
		}

		[Category("专业信息")]
		[DisplayName("转速(r/min)")]
		[ReadOnly(true)]
		public int NRotSpeed
		{
			get
			{
				return this.nRotSpeed;
			}
			set
			{
				this.nRotSpeed = value;
			}
		}

		[Category("专业信息")]
		[DisplayName("轴功率(kW)")]
		[ReadOnly(true)]
		public double DPumpPower
		{
			get
			{
				return this.dPumpPower;
			}
			set
			{
				this.dPumpPower = value;
			}
		}

		[Category("专业信息")]
		[DisplayName("效率(%)")]
		[ReadOnly(true)]
		public double DEffection
		{
			get
			{
				return this.dEffection;
			}
			set
			{
				this.dEffection = value;
			}
		}

		[Category("专业信息")]
		[DisplayName("进口管径(mm)")]
		[ReadOnly(true)]
		public double DIn
		{
			get
			{
				return this.dIn;
			}
			set
			{
				this.dIn = value;
			}
		}

		[Category("专业信息")]
		[DisplayName("出口管径(mm)")]
		[ReadOnly(true)]
		public double DOut
		{
			get
			{
				return this.dOut;
			}
			set
			{
				this.dOut = value;
			}
		}

		private string strSpecification;

		private string strFactory;

		private string strSeriesName;

		private double dH;

		private double dQ;

		private int nRotSpeed;

		private double dPumpPower;

		private double dEffection;

		private double dIn;

		private double dOut;
	}
}
